package manager;

import model.*;

/**
 * managing the sources, using singleton
 * @author xbingo
 *
 */
public class SourceManager {
	private static SourceManager sourceManager = null;
	
	private SourceManager(){
		
	}
	
	/**
	 * get instance of SourceManager
	 * @return
	 */
	public static SourceManager getSourceManager(){
		if(sourceManager == null){
			sourceManager = new SourceManager();
		}
		return sourceManager;
	}
	
	/**
	 * add a new source code
	 * @param user
	 * @param sourceName
	 */
	public void add(User user, String sourceName){
		
	}
}
